package com.bd.scm.dao.mapper.standardReports;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bd.scm.domain.dto.standardReports.BdKqHolidaysDto;
import com.bd.scm.domain.dto.standardReports.BdKqHolidaysSearchDto;
import com.bd.scm.domain.models.standardReports.BdKqHolidays;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  额度假（年假、调休）Mapper 接口
 * </p>
 *
 * @author Mason
 * @since 2020-01-07
 */
public interface BdKqHolidaysMapper extends BaseMapper<BdKqHolidays> {
    /**
     * 获取年度个人假期使用汇总报表（按月显示）.
     *
     * @param bdKqHolidaysSearchDto 条件
     * @return
     */
    List<BdKqHolidaysDto> getAnnualLeaveList( @Param("search") BdKqHolidaysSearchDto bdKqHolidaysSearchDto);

}
